package com.cls.business.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cls.common.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;

/**
 *  Entity
 *
 * @author slx
 * @date 2020-12-11 10:39:22
 */
@Data
@TableName("biz_declare_plan")
public class DeclarePlan extends BaseEntity implements Serializable {



    /**
     * 
     */
    @TableId(value = "declare_plan_id", type = IdType.AUTO)
    private Long declarePlanId;



    /**
     * 
     */
    @TableField("declare_id")
    private Long declareId;



    /**
     * 计划id
     */
    @TableField("plan_id")
    private Long planId;



    /**
     * 
     */
    @TableField("plan_topic_id")
    private Long planTopicId;



    /**
     * 打分
     */
    @TableField("plan_score")
    private Double planScore;



    /**
     * 结项申请附件
     */
    @TableField("file_apply_id")
    private Long fileApplyId;



    /**
     * 显明附件
     */
    @TableField("file_show_id")
    private Long fileShowId;



    /**
     * 匿名附件
     */
    @TableField("file_hide_id")
    private Long fileHideId;



    /**
     * 结项申请时间
     */
    @TableField("conclusion_time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date conclusionTime;




    /**
     * 第几次申请
     */
    @TableField("apply_count")
    private Integer applyCount;
    /**
     * 成果字数（万字）
     */
    @TableField("number")
    private Double number;



    @TableField(exist = false)
    private Long topicId;

    @TableField("achievement_form_type_code")
    private String achievementFormTypeCode;
    /**
     * 评定级别
     */
    @TableField("level_type_code")
    private String levelTypeCode;
}
